package com.cmsky.open.base.velocity.tool;

import org.apache.commons.lang.StringUtils;

import com.cmsky.open.core.tool.VelocityTool;

public class StringTool extends VelocityTool{

	@Override
	public void initSelf() {
	}
	/**
	 * 获取string值
	 * @param param
	 * @param fault 默认值
	 * @return
	 */
	public static String getString(String param,String fault){
		return StringUtils.isNotBlank(param)?param:fault;
	}

}
